package com.moji.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 协议相关表
 * </p>
 *
 * @author ccl
 * @since 2024-08-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MjAgreement对象", description="协议相关表")
public class MjAgreement extends Model<MjAgreement> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "1-隐私协议 2-用户协议 3-服务说明 4-合同范本 5-注册协议  6-个人信息处理规则 7-对公彰化信息")
    private Integer type;

    @ApiModelProperty(value = "0- 可用 1-不可用")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "类型名称")
    private String typeName;

    @ApiModelProperty(value = "内容(富文本形式)")
    private String content;
    @ApiModelProperty(value = "文本地址")
    private String url;
    @ApiModelProperty(value = "银行账号")
    private String account;
    @ApiModelProperty(value = "银行名称")
    private String bank;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
